package com.example.design.shejimoshi.action.responsibility;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class Controller {
    @Autowired
    HandlerChain handlerChain;

    @GetMapping("/test01")
    public void save() {
        // 校验
        UserDO userDO = new UserDO("lzh", 26);
        handlerChain.exec(userDO);

        // insert();
    }
}
